import request from '../utils/request';
//模板模拟
export const fetchData = query => {
    return request({
        url: './table.json',
        method: 'get',
        params: query
    });
};
export const home = query => {
    return request({
        url: '/vehicle/index/userCount',
        method: 'post',
        params: query
    });
};


//我的订单   评价
export const addComment = query => {
    return request({
        url: '/vehicle/order/addComment',
        method: 'post',
        params: query
    });
};